package com.tiny.work.btrace.Counter;

import com.sun.btrace.annotations.BTrace;
import com.sun.btrace.annotations.OnMethod;

import static com.sun.btrace.BTraceUtils.jstack;

@BTrace
public class TraceSystemGc {
    @OnMethod(
            clazz = "java.lang.System",
            method = "gc"
    )
    public static void gcExecute(){
        jstack();
    }
}
